<div id="main_wrap">
    <div class="center_wrap clearfix"> 
        <h2 class="no_bottom no_top breadcrumb"> 
            <a>{$lang796}</a> &gt; {$showtitle} 
        </h2>

        <div id="sidebar_wrap">  
            <div id="list_cats">
                <a class="category-txt" href="{$baseurl}/categories/">
                    <img alt="Category" src="{$baseurl}/images/tjj_music_we_categories.jpg">
                </a>
                <ul id="ul_categories">
                    {insert name=get_audio_categories assign=listaudiocategories}
                    {section name=o loop=$listaudiocategories}
                        <li><a href="{$baseurl}/browse/categories/audios/z/{$listaudiocategories[o].CATID}/1/{$listaudiocategories[o].name|stripslashes}">{$listaudiocategories[o].name|stripslashes}</a></li>
                    {/section}
                </ul>
            </div>
            <div class="sky_ad">
                <center>
                    {insert name=get_advertisement value=var AID="2"}
                </center>
            </div>
        </div>

        <div class="right col1">
            <div class="cat_box_full clearfix" id="browse_main"> 
                <table width="100%" cellspacing="3" cellpadding="3" border="0">
                    <tr>
                        <td valign="top">
                            <h2>{$showtitle}</h2>
                        </td>
                    </tr><tr>
                        <td valign="top">
                            <div id="sorting">
                                Sorting:
                                <ul>
                                    <li><a {if $smarty.request.filter eq '0'} class="selectedli" {/if} href="{$baseurl}/browse/audios/z/0/1/{$lang174}{$featureCatUrl}">{$lang191}</a></li>
                                    <li><a {if $smarty.request.filter eq '1'} class="selectedli" {/if} href="{$baseurl}/browse/audios/z/1/1/{$lang178}{$featureCatUrl}">{$lang192}</a></li>
                                    <li><a {if $smarty.request.filter eq '2'} class="selectedli" {/if} href="{$baseurl}/browse/audios/z/2/1/{$lang179}{$featureCatUrl}">{$lang193}</a></li>
                                    <li><a {if $smarty.request.filter eq '3'} class="selectedli" {/if} href="{$baseurl}/browse/audios/z/3/1/{$lang180}{$featureCatUrl}">{$lang194}</a></li>
                                    <li><a {if $smarty.request.filter eq '4'} class="selectedli" {/if} href="{$baseurl}/browse/audios/z/4/1/{$lang182}{$featureCatUrl}">{$lang195}</a></li>
                                    <li><a {if $smarty.request.filter eq '5'} class="selectedli" {/if} href="{$baseurl}/browse/audios/z/5/1/{$lang181}{$featureCatUrl}">{$lang181}</a></li>
                                </ul>
                            </div>
                            <div id="featuring">
                                Featured:
                                <ul>
                                    <li><a {if $featured eq "" || $featured=="all"} class="selectedli" {/if}  href="{$baseurl}/browse/audios/z/{$filter}/1/{$showseotitle}&featured=all&cat={$cat}">All</a></li>
                                    <li><a {if $featured eq "1"} class="selectedli" {/if} href="{$baseurl}/browse/audios/z/{$filter}/1/{$showseotitle}&featured=1&cat={$cat}">Featured</a></li>
                                    <li><a {if $featured eq "0" } class="selectedli" {/if} href="{$baseurl}/browse/audios/z/{$filter}/1/{$showseotitle}&featured=0&cat={$cat}">Unfeatured</a></li>
                                </ul>
                            </div>        
                        </td>
                    </tr>
                </table>
                <div class="cat_body_full clearfix">
                    {if $error ne ""}
                        {include file="show_error.tpl"}
                    {/if}
                    {if $showmessage ne ""}
                        {include file="show_message.tpl"}
                    {/if}

                    <!-- LOOP START -->

                    <div id="browse_results">
                        <ul>
                            {section name=i loop=$listaudios}
                                <li class="video">
                                    <div class="video_i">
                                        <a href="{$baseurl}/audios/{$listaudios[i].AUDIOID}/{insert name=get_seotitle_from_audioid assign=title audioid=$listaudios[i].AUDIOID}">
                                        {capture assign='player'}images/audiothumbs/{$listaudios[i].AUDIOID}-1{$listaudios[i].ext}{/capture} 
                                        {if $player|file_exists}
                                            <img class="imag" height="87" width="116" alt="{$listaudios[i].title|stripslashes}" src="{$athumburl}/{$listaudios[i].AUDIOID}-1{$listaudios[i].ext}" />
                                        {else}
                                            <img class="imag" height="87" width="116" alt="{$listaudios[i].title|stripslashes}" src="{$athumburl}/default.png" />
                                        {/if}
                                        {* <img class="imag" height="87" width="116" alt="{$listaudios[i].title|stripslashes}" src="{$athumburl}/{$listaudios[i].AUDIOID}-1{$listaudios[i].ext}" /> *}
                                        {if $listaudios[i].featured eq '1'} 
                                            <div class="tag"><span class="featured">featured</span></div>
                                        {/if}
                                    </a>
                                    <a href="{$baseurl}/audios/{$listaudios[i].AUDIOID}/{insert name=get_seotitle_from_audioid assign=title audioid=$listaudios[i].AUDIOID}">
                                        <span class="artist_name">{$listaudios[i].title|stripslashes|truncate:15:"...":true}</span>
                                        <span class="song_name">{if $listaudios[i].artist neq ""}{$listaudios[i].artist|stripslashes|truncate:15:"...":true}{else}Anonymous{/if}</span>
                                    </a>

                                </div>
                                </il>
                            {/section}	
                    </ul>
                </div> 
                <!-- LOOP END -->

            </div>

            <div class="paginate">
                {$pagelinks}
            <!--<p class="left">{if $error eq ""}{$beginning} - {$ending} {$lang61} {$total} {$lang796}{/if}</p>-->
            </div>
        </div>
    </div>
    <div class="clear"></div>
</div>
</div>